<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>住院通知</title>
</head>
<body>
	<script type="text/javascript" src="<c:url value='js/hosp_in_notice.js'/>"></script>
	<div class="easyui-panel" title="住院通知" 
		border="false" fit="true" >
		<form id="add_in_notice" action="add_in_notice" method="post">
			<table width="100%" border="0" style="padding:6px;">
				<tr>
					<td width="33%">
						<input name="livenoticid" style="width:60%;" class="easyui-textbox" label="住院通知号：" >
					</td>
					<td width="33%">
						<input name="livestatus" style="width:40%;" class="easyui-combobox" label="状态：" data-options="
									readonly:'true',
									panelHeight: 'auto',
									valueField: 'label',
									textField: 'label',
									data:[{
										label:'未处理',
										selected:true
									},{
										label:'已处理',
									}]">
					</td>
					
					<td width="33%">
						<input id="" name="noticdate" style="width:60%;" class="easyui-datebox" label="通知时间" value="1" data-options="readonly:'true'">
					</td>
				</tr>
				<tr>
					<td width="33%">
						<input name="patientRegistrationId" style="width:60%;" class="easyui-textbox" label="门诊号：" data-options="required:true">
					</td>
					<td width="33%">
						<input name="patientname" style="width:50%;" class="easyui-textbox" label="病人姓名：">
					</td>
					<td width="33%">
						<input name="liveoffice" style="width:40%;" class="easyui-combobox" label="科室：" data-options="
						panelHeight: 'auto',
						valueField: 'label',
						textField: 'label',
						data:[{
							label:'门诊',
							selected:true
						},{
							label:'住院'
						},{
							label:'内科'
						},{
							label:'外科'
						},{
							label:'儿科'
						},{
							label:'妇科'
						},{
							label:'骨科'
						},{
							label:'眼科'
						}]">
				</tr>
				<tr>
					<td width="33%">
						<input name="mjdoctorname" style="width:50%;" class="easyui-textbox" label="医生姓名：">
					</td>
				</tr>
				<tr >
					<td colspan="3">
						<input name="notice" style="width:80%;height:102px;" class="easyui-textbox" label="通知说明："
									data-options="
									multiline:true
									"> 
					</td>
				</tr>
				<tr>
					<td>
						<a onclick="add_notice()" class="easyui-linkbutton" iconCls="icon-save">保存</a>
					</td>
				</tr>
			</table>
		</form>
			
			<div id="in_notice">
				<table width="100%" border="0" style="padding:6px;">
					<tr>
						<td width="20%">
							<input id="" name="" style="width:70%;" class="easyui-datebox" label="起始时间" >
						</td>
						<td width="20%">
							<input id="" name="" style="width:70%;" class="easyui-datebox" label="截止时间" >
						</td>
						<td width="20%">
							<input name="" style="width:70%;" class="easyui-textbox" label="住院通知号：">
						</td>
						<td width="20%">
							<input name="" style="width:60%;" class="easyui-textbox" label="病人姓名：">
						</td>
						<td width="10%">
							<a name="" style="width:50%;" class="easyui-linkbutton" data-options="plain:true" >搜索</input>
						</td>
					</tr>
				</table>
			</div>
			
			<table id="notice_record" style="width:100%" class="easyui-datagrid" data-options="
			url:'load_notice_record',
			singleSelect: true,
			fitColumns: true, nowrap: false,
			rownumbers: true, toolbar: '#in_notice',
			pagination: true,pageList: [9,18,27],pageSize: 9,
			">
				<thead>
					<tr>
						<th style="width:15%;" data-options="algin:'center',field:'livenoticid', editor: {type: 'textbox'}">住院通知号</th>
						<th style="width:15%;" data-options="algin:'center',field:'noticdate', editor: {type: 'textbox'}">时间</th>
						<th style="width:15%;" data-options="algin:'center',field:'patientRegistrationId', editor: {type: 'textbox'}">门诊号</th>
						<th style="width:13%;" data-options="algin:'center',field:'patientname', editor: {type: 'textbox'}">病人姓名</th>
						<th style="width:13%;" data-options="algin:'center',field:'liveoffice', editor: {type: 'textbox'}">科室</th>
						<th style="width:13%;" data-options="algin:'center',field:'mjdoctorname', editor: {type: 'textbox'}">医生姓名</th>
						<th style="width:13%;" data-options="algin:'center',field:'livestatus', editor: {type: 'textbox'}">状态</th>
					</tr>
				</thead>
						
				<tbody>
					
				</tbody>
			</table>			
		
	</div>
	
</body>
</html>